import {
  createRouter,
  createWebHashHistory,
  createWebHistory
} from 'vue-router'
import editorPreview from "@/views/editor-preview.jsx"
const routes = [{
  path: '/',
  name: 'editorPreview',
  component: editorPreview
}]
const router = createRouter({
  history: process.env.NODE_ENV == 'development' ? createWebHashHistory() : createWebHistory(process.env.BASE_URL),
  routes
})

export default router